package com.JohnCarloSalter.BackEnd;

public class Tab {
	
	private String[] displayStrings;
	private double totalPrice;
	
	public Tab(String[] strings, double tp) {
		displayStrings = strings;
		totalPrice = tp;
	}
	
	public String toString() {
		String returnString = "";
		for(int i=0; i<displayStrings.length; i++) {
			returnString += displayStrings[i] + "\n";
		}
		returnString += "Total: " + totalPrice;
		return returnString;
	}
}
